home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Full / NetObjects Fusion 9 Standard / NOF9_Full_EN.exe / data1.cab / FSI / UserProfile / lib / UPConstants.js next >
Encoding:
Text File  |  2005-11-16  |  2.1 KB  |  67 lines

  1. /****i* SOURCE_FILE/INFO
  2. *
  3. * NAME
  4. *  UPConstants.js
  5. *
  6. * USAGE
  7. *  Part of Netobjects JavaScript Library.
  8. *
  9. * COPYRIGHT
  10. *  Copyright ⌐ 2002-2004 Website Pros, Inc.
  11. *  All Rights Reserved.
  12. *
  13. *  This is an unpublished work protected by Website Pros, Inc.
  14. *  as a trade secret, and is not to be used or disclosed except as
  15. *  expressly provided in a written license agreement executed by
  16. *  you and Website Pros, Inc.
  17. *
  18. *      <copyright@websitepros.com>
  19. *
  20. * NOTES
  21. *  JavaScript code.
  22. *****/
  23. if (typeof(UPConstants) == "undefined")
  24. {            
  25.   
  26. var UPConstants = {
  27.     
  28.     NOF_UP_MODULE_TYPE                           : "UserProfile",
  29.     
  30.     NOF_UP_MODULE_TEMPLATE                       :
  31.     "<?xml version=\"1.0\"?>" + 
  32.     "<userProfile version=\"1\" xmlns:nof=\"http://www.netobjects.com/fusion/userProfile\">" +        
  33.       "<nof:firstName></nof:firstName>" +             
  34.       "<nof:lastName></nof:lastName>" +            
  35.       "<nof:email></nof:email>" +                    
  36.       "<nof:companyName></nof:companyName>"+            
  37.       "<nof:address1></nof:address1>"+            
  38.       "<nof:address2></nof:address2>"+            
  39.       "<nof:city></nof:city>"+            
  40.       "<nof:state></nof:state>"+            
  41.       "<nof:zip></nof:zip>"+            
  42.       "<nof:country></nof:country>"+            
  43.       "<nof:phone></nof:phone>"+
  44.       "<nof:eveningPhone></nof:eveningPhone>"+
  45.       "<nof:fax></nof:fax>"+        
  46.       "<nof:upDefined></nof:upDefined>"+
  47.       "<nof:askProfile></nof:askProfile>"+
  48.     "</userProfile>" ,
  49.     
  50.     NOF_UP_FIRST_NAME       : "nof:firstName",
  51.     NOF_UP_LAST_NAME        : "nof:lastName",
  52.     NOF_UP_EMAIL               : "nof:email",
  53.     NOF_UP_COMPANY_NAME     : "nof:companyName",
  54.     NOF_UP_ADDRESS1            : "nof:address1",
  55.     NOF_UP_ADDRESS2            : "nof:address2",
  56.     NOF_UP_CITY                : "nof:city",
  57.     NOF_UP_STATE            : "nof:state",
  58.     NOF_UP_ZIP                : "nof:zip",
  59.     NOF_UP_COUNTRY            : "nof:country",
  60.     NOF_UP_PHONE            : "nof:phone",
  61.     NOF_UP_EVENING_PHONE    : "nof:eveningPhone",
  62.     NOF_UP_FAX                : "nof:fax",
  63.     NOF_UP_DEFINED            : "nof:upDefined",
  64.     NOF_UP_ASK_PROFILE        : "nof:askProfile"        
  65. }
  66.   
  67. }